From: Ray Strode Date: Thu, 22 Jan 2015 19:00:01 +0000 (-0500) Subject: loginDialog: fix reactivity of first user in user list X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1887 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d04340c675f7b6245acb9b4eb736403d15e2ecd0;p=gnome-shell.git loginDialog: fix reactivity of first user in user list After the login banner is shown and hidden, the first user in the user list becomes non-reactive. This is because the banner is given an opacity of 0, but still allocated. This commit fixes that by hiding the banner explicitly. https://bugzilla.gnome.org/show_bug.cgi?id=743370 --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index b7eff6845..9dd984ca5 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -709,6 +709,7 @@ const LoginDialog = new Lang.Class({ }, _fadeInBannerView: function() { + this._bannerView.show(); Tweener.addTween(this._bannerView, { opacity: 255, time: _FADE_ANIMATION_TIME, @@ -718,6 +719,7 @@ const LoginDialog = new Lang.Class({ _hideBannerView: function() { Tweener.removeTweens(this._bannerView); this._bannerView.opacity = 0; + this._bannerView.hide(); }, _updateLogoTexture: function(cache, file) {